package com.qdxwx.models.praise;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 点赞表
 *@author developer
 */
public class Praise  implements Serializable{
	private static final long serialVersionUID = 7687324559966427231L;
	private Long id;//id
    private Integer typeId;//=ModuleId
    private Long targetId;//点赞的目标id
	private Long userId;//用户id
    private String userName;//用户id
    private String userIp;//用户id

	private LocalDateTime createTime;//点赞和点踩的时间

    public Praise() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Praise{" +
                "id=" + id +
                ", typeId=" + typeId +
                ", targetId=" + targetId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userIp='" + userIp + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
